<template>
  <div class="home">
    <h1>临时用于测试路由的</h1>
    <!-- 测试全局导入 Vant 按钮组件是否成功 -->
    <van-button
      to="/login"
      type="primary"
    >登录页</van-button>
    <van-button
      to="/register"
      type="info"
    >注册页</van-button>
    <van-button
      to="/userinfo"
      type="default"
    >用户用心</van-button>
    <van-button
      to="/useredit"
      type="warning"
    >去用户编辑页</van-button>
    <van-button type="danger">危险按钮</van-button>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>